package com.bupt.mapper;

import com.bupt.pojo.ProductItem;
import java.util.List;

public interface ProductItemMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProductItem record);

    ProductItem selectByPrimaryKey(Integer id);

    List<ProductItem> selectAll();

    int updateByPrimaryKey(ProductItem record);

    ProductItem findByNameAndPid(String name,Integer pid);
}